package cn.jksoft.businessclient.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Author:  nick
 * Email:   nickdevp@gmail.com
 * Date:    16/5/5 15:20.
 * Description: 查询会员卡列表数据
 */
public class CustCardEntity implements Serializable{


    /**
     * result : 查询成功
     * is_successful : 1
     * customerCardList : [{"MEMBER_ID":10492,"CARD_NAME":"十次洗车卡","EXPIRE_DAY":"2017-02-15","BALANCE":0,"CARD_KIND":2,"memberPackageItemList":[{"ITEM_INST_ID":10648,"SURPLUS_NUMBER":120,"PROD_NAME":"油漆","PROD_SKU_ID":1437728802249}]},{"MEMBER_ID":10498,"CARD_NAME":"储值卡","EXPIRE_DAY":"2017-02-20","BALANCE":820000,"CARD_KIND":1}]
     * cardTotalNumber : 2
     */

    private String result;
    private String is_successful;
    private int cardTotalNumber;
    /**
     * MEMBER_ID : 10492
     * CARD_NAME : 十次洗车卡
     * EXPIRE_DAY : 2017-02-15
     * BALANCE : 0
     * CARD_KIND : 2
     * memberPackageItemList : [{"ITEM_INST_ID":10648,"SURPLUS_NUMBER":120,"PROD_NAME":"油漆","PROD_SKU_ID":1437728802249}]
     */

    private List<CustomerCardListEntity> customerCardList;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getIs_successful() {
        return is_successful;
    }

    public void setIs_successful(String is_successful) {
        this.is_successful = is_successful;
    }

    public int getCardTotalNumber() {
        return cardTotalNumber;
    }

    public void setCardTotalNumber(int cardTotalNumber) {
        this.cardTotalNumber = cardTotalNumber;
    }

    public List<CustomerCardListEntity> getCustomerCardList() {
        return customerCardList;
    }

    public void setCustomerCardList(List<CustomerCardListEntity> customerCardList) {
        this.customerCardList = customerCardList;
    }

    public static class CustomerCardListEntity implements Serializable{
        private long MEMBER_ID;
        private String CARD_NAME;
        private String EXPIRE_DAY;
        private float BALANCE;
        private long CARD_KIND;
        /**
         * ITEM_INST_ID : 10648
         * SURPLUS_NUMBER : 120
         * PROD_NAME : 油漆
         * PROD_SKU_ID : 1437728802249
         */

        private List<MemberPackageItemListEntity> memberPackageItemList;

        public long getMEMBER_ID() {
            return MEMBER_ID;
        }

        public void setMEMBER_ID(long MEMBER_ID) {
            this.MEMBER_ID = MEMBER_ID;
        }

        public String getCARD_NAME() {
            return CARD_NAME;
        }

        public void setCARD_NAME(String CARD_NAME) {
            this.CARD_NAME = CARD_NAME;
        }

        public String getEXPIRE_DAY() {
            return EXPIRE_DAY;
        }

        public void setEXPIRE_DAY(String EXPIRE_DAY) {
            this.EXPIRE_DAY = EXPIRE_DAY;
        }

        public float getBALANCE() {
            return BALANCE;
        }

        public void setBALANCE(float BALANCE) {
            this.BALANCE = BALANCE;
        }

        public long getCARD_KIND() {
            return CARD_KIND;
        }

        public void setCARD_KIND(long CARD_KIND) {
            this.CARD_KIND = CARD_KIND;
        }

        public List<MemberPackageItemListEntity> getMemberPackageItemList() {
            return memberPackageItemList;
        }

        public void setMemberPackageItemList(List<MemberPackageItemListEntity> memberPackageItemList) {
            this.memberPackageItemList = memberPackageItemList;
        }

        public static class MemberPackageItemListEntity implements Serializable{
            private long ITEM_INST_ID;
            private long SURPLUS_NUMBER;
            private String PROD_NAME;
            private long PROD_SKU_ID;

            public long getITEM_INST_ID() {
                return ITEM_INST_ID;
            }

            public void setITEM_INST_ID(long ITEM_INST_ID) {
                this.ITEM_INST_ID = ITEM_INST_ID;
            }

            public long getSURPLUS_NUMBER() {
                return SURPLUS_NUMBER;
            }

            public void setSURPLUS_NUMBER(long SURPLUS_NUMBER) {
                this.SURPLUS_NUMBER = SURPLUS_NUMBER;
            }

            public String getPROD_NAME() {
                return PROD_NAME;
            }

            public void setPROD_NAME(String PROD_NAME) {
                this.PROD_NAME = PROD_NAME;
            }

            public long getPROD_SKU_ID() {
                return PROD_SKU_ID;
            }

            public void setPROD_SKU_ID(long PROD_SKU_ID) {
                this.PROD_SKU_ID = PROD_SKU_ID;
            }
        }
    }
}
